package com.blood.modules.system.dto.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 系统用户分页查询结果
 *
 * @author daoren
 * @date 2022-05-12 09:14:48
 */
@Data
@ApiModel(value = "系统用户分页查询结果", description = "系统用户分页查询结果")
public class SysUserPageResp {
    @ApiModelProperty("业务id")
    private String id;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("用户姓名")
    private String userName;
    @ApiModelProperty("角色")
    private String role;
    @ApiModelProperty("单位")
    private String hospitalName;
    @ApiModelProperty("科室")
    private String departName;
    @ApiModelProperty("接诊人数")
    private Integer number;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("账号状态（1正常，2禁用,3离职）")
    private Integer status;
}
